package com.ouheng.shop.service;

import java.util.List;
import java.util.Map;

import com.ouheng.shop.domain.CmsDO;

/**
 * 鲜语
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-06-22 10:58:35
 */
public interface CmsService {
	
	CmsDO get(Long id);
	
	List<CmsDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CmsDO cms);
	
	int update(CmsDO cms);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
	
	void saveImage(CmsDO cms,List<Object> list);
}
